<template>
  <div>
    <h2>Child</h2>
    <button @click="clickHandle">count++</button>
  </div>
</template>

<script>
export default {
  name: 'Child',
  methods: {
    clickHandle() {
      this.$emit('add')
      this.$emit('addCount')
    },
  },
}
</script>

<style></style>
